﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gnosis.Babel;

namespace Gnosis.SQLite.Clauses
{
    public class IndexedColumn
        : Expression
    {
        public IndexedColumn(IColumnName column)
            : this(column, Direction.Ascending)
        {
        }

        public IndexedColumn(IColumnName column, Direction direction)
            : base(new List<IExpression> {column, direction })
        {
        }

        public IndexedColumn(IColumnName column, Direction direction, CollationName collationName)
            : base(new List<IExpression>{column, direction, collationName})
        {
        }
    }
}
